﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CommonLibraries.DeviceLibrary
{
    interface ICompass
    {
        /// <summary>
        /// Gets or sets the compass power state
        /// </summary>
        PowerStates PowerState
        {
            get;
            set;
        }

        /// <summary>
        /// Gets the compass bearing; a degree from magnetic North
        /// </summary>
        int Bearing
        {
            get;
        }

        int Pitch
        {
            get;
        }

        int Roll
        {
            get;
        }

        int Yaw
        {
            get;
        }

        /// <summary>
        /// Calibrates the compass
        /// </summary>
        bool Calibrate();
    }
}
